

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip/opt.h" class="nav-sub-label">lwip/opt.h</a>
              </li>
      

              <li>
                <a href="#lwip/err.h" class="nav-sub-label">lwip/err.h</a>
              </li>
      

              <li>
                <a href="#lwip/timeouts.h" class="nav-sub-label">lwip/timeouts.h</a>
              </li>
      

              <li>
                <a href="#lwip/netif.h" class="nav-sub-label">lwip/netif.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#LWIP_HDR_TCPIP_H" class="nav-sub-label">LWIP_HDR_TCPIP_H</a>
              </li>
      

              <li>
                <a href="#LOCK_TCPIP_CORE()" class="nav-sub-label">LOCK_TCPIP_CORE()</a>
              </li>
      

              <li>
                <a href="#UNLOCK_TCPIP_CORE()" class="nav-sub-label">UNLOCK_TCPIP_CORE()</a>
              </li>
      

              <li>
                <a href="#LOCK_TCPIP_CORE" class="nav-sub-label">LOCK_TCPIP_CORE</a>
              </li>
      

              <li>
                <a href="#UNLOCK_TCPIP_CORE" class="nav-sub-label">UNLOCK_TCPIP_CORE</a>
              </li>
      

              <li>
                <a href="#tcpip_callback_with_block(function, ctx, block)" class="nav-sub-label">tcpip_callback_with_block(function, ctx, block)</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#tcpip_init" class="nav-sub-label">tcpip_init</a>
              </li>
      

              <li>
                <a href="#tcpip_inpkt" class="nav-sub-label">tcpip_inpkt</a>
              </li>
      

              <li>
                <a href="#tcpip_input" class="nav-sub-label">tcpip_input</a>
              </li>
      

              <li>
                <a href="#tcpip_try_callback" class="nav-sub-label">tcpip_try_callback</a>
              </li>
      

              <li>
                <a href="#tcpip_callback" class="nav-sub-label">tcpip_callback</a>
              </li>
      

              <li>
                <a href="#tcpip_callbackmsg_delete" class="nav-sub-label">tcpip_callbackmsg_delete</a>
              </li>
      

              <li>
                <a href="#tcpip_callbackmsg_trycallback" class="nav-sub-label">tcpip_callbackmsg_trycallback</a>
              </li>
      

              <li>
                <a href="#tcpip_callbackmsg_trycallback_fromisr" class="nav-sub-label">tcpip_callbackmsg_trycallback_fromisr</a>
              </li>
      

              <li>
                <a href="#pbuf_free_callback" class="nav-sub-label">pbuf_free_callback</a>
              </li>
      

              <li>
                <a href="#mem_free_callback" class="nav-sub-label">mem_free_callback</a>
              </li>
      

              <li>
                <a href="#tcpip_timeout" class="nav-sub-label">tcpip_timeout</a>
              </li>
      

              <li>
                <a href="#tcpip_untimeout" class="nav-sub-label">tcpip_untimeout</a>
              </li>
      

              <li>
                <a href="#tcpip_thread_poll_one" class="nav-sub-label">tcpip_thread_poll_one</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#pbuf" class="nav-sub-label">pbuf</a>
              </li>
      

              <li>
                <a href="#netif" class="nav-sub-label">netif</a>
              </li>
      

              <li>
                <a href="#tcpip_callback_msg" class="nav-sub-label">tcpip_callback_msg</a>
              </li>
      

              <li>
                <a href="#tcpip_callback_msg" class="nav-sub-label">tcpip_callback_msg</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#tcpip_init_done_fn" class="nav-sub-label">tcpip_init_done_fn</a>
              </li>
      

              <li>
                <a href="#tcpip_callback_fn" class="nav-sub-label">tcpip_callback_fn</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="lwip/opt.h"><span>lwip/opt.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/opt.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/opt.h"
</pre>

      <h4 id="lwip/err.h"><span>lwip/err.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/err.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/err.h"
</pre>

      <h4 id="lwip/timeouts.h"><span>lwip/timeouts.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/timeouts.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/timeouts.h"
</pre>

      <h4 id="lwip/netif.h"><span>lwip/netif.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/netif.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/netif.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="LWIP_HDR_TCPIP_H">Marco <span>LWIP_HDR_TCPIP_H</span></h4>
      <pre class="doc-declare"><code>#define LWIP_HDR_TCPIP_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LOCK_TCPIP_CORE()">Marco <span>LOCK_TCPIP_CORE()</span></h4>
      <pre class="doc-declare"><code>#define LOCK_TCPIP_CORE()    sys_mutex_lock(&lock_tcpip_core)
</code></pre>
      <pre class="doc-comment">/** Lock lwIP core mutex (needs @ref LWIP_TCPIP_CORE_LOCKING 1) */</pre>

      <h4 id="UNLOCK_TCPIP_CORE()">Marco <span>UNLOCK_TCPIP_CORE()</span></h4>
      <pre class="doc-declare"><code>#define UNLOCK_TCPIP_CORE()  sys_mutex_unlock(&lock_tcpip_core)
</code></pre>
      <pre class="doc-comment">/** Unlock lwIP core mutex (needs @ref LWIP_TCPIP_CORE_LOCKING 1) */</pre>

      <h4 id="LOCK_TCPIP_CORE">Marco <span>LOCK_TCPIP_CORE</span></h4>
      <pre class="doc-declare"><code>#define LOCK_TCPIP_CORE()
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="UNLOCK_TCPIP_CORE">Marco <span>UNLOCK_TCPIP_CORE</span></h4>
      <pre class="doc-declare"><code>#define UNLOCK_TCPIP_CORE()
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callback_with_block(function, ctx, block)">Marco <span>tcpip_callback_with_block(function, ctx, block)</span></h4>
      <pre class="doc-declare"><code>#define tcpip_callback_with_block(function, ctx, block) ((block != 0)? tcpip_callback(function, ctx) : tcpip_try_callback(function, ctx))
</code></pre>
      <pre class="doc-comment">/**  @ingroup lwip_os
 * @deprecated use tcpip_try_callback() or tcpip_callback() instead
 */</pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="tcpip_init">Func <span>tcpip_init</span></h4>
      <pre class="doc-declare"><code>void  tcpip_init(tcpip_init_done_fn tcpip_init_done, void *arg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_inpkt">Func <span>tcpip_inpkt</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_input">Func <span>tcpip_input</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_input(struct pbuf *p, struct netif *inp);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_try_callback">Func <span>tcpip_try_callback</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_try_callback(tcpip_callback_fn function, void *ctx);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callback">Func <span>tcpip_callback</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_callback(tcpip_callback_fn function, void *ctx);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callbackmsg_delete">Func <span>tcpip_callbackmsg_delete</span></h4>
      <pre class="doc-declare"><code>void  tcpip_callbackmsg_delete(struct tcpip_callback_msg* msg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callbackmsg_trycallback">Func <span>tcpip_callbackmsg_trycallback</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_callbackmsg_trycallback(struct tcpip_callback_msg* msg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callbackmsg_trycallback_fromisr">Func <span>tcpip_callbackmsg_trycallback_fromisr</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_callbackmsg_trycallback_fromisr(struct tcpip_callback_msg* msg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="pbuf_free_callback">Func <span>pbuf_free_callback</span></h4>
      <pre class="doc-declare"><code>err_t pbuf_free_callback(struct pbuf *p);</code></pre>
      <pre class="doc-comment">/* free pbufs or heap memory from another context without blocking */</pre>

      <h4 id="mem_free_callback">Func <span>mem_free_callback</span></h4>
      <pre class="doc-declare"><code>err_t mem_free_callback(void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_timeout">Func <span>tcpip_timeout</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_untimeout">Func <span>tcpip_untimeout</span></h4>
      <pre class="doc-declare"><code>err_t tcpip_untimeout(sys_timeout_handler h, void *arg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_thread_poll_one">Func <span>tcpip_thread_poll_one</span></h4>
      <pre class="doc-declare"><code>int tcpip_thread_poll_one(void);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      

      <h4 id="pbuf">Variable <span>pbuf</span></h4>
      <pre class="doc-declare"><code>struct pbuf;</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="netif">Variable <span>netif</span></h4>
      <pre class="doc-declare"><code>struct netif;</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="tcpip_callback_msg">Variable <span>tcpip_callback_msg</span></h4>
      <pre class="doc-declare"><code>struct tcpip_callback_msg;</code></pre>
      <pre class="doc-comment">/* Forward declarations */</pre>

      <h4 id="tcpip_callback_msg">Variable <span>tcpip_callback_msg</span></h4>
      <pre class="doc-declare"><code>struct tcpip_callback_msg* tcpip_callbackmsg_new(tcpip_callback_fn function, void *ctx);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="tcpip_init_done_fn">Typedef <span>tcpip_init_done_fn</span></h4>
      <pre class="doc-declare"><code>typedef void (*tcpip_init_done_fn)(void *arg);
</code></pre>
      <pre class="doc-comment">/** Function prototype for the init_done function passed to tcpip_init */</pre>

      <h4 id="tcpip_callback_fn">Typedef <span>tcpip_callback_fn</span></h4>
      <pre class="doc-declare"><code>typedef void (*tcpip_callback_fn)(void *ctx);
</code></pre>
      <pre class="doc-comment">/** Function prototype for functions passed to tcpip_callback() */</pre>
    </div>
  </body>
</html>
            